package org.unit.testmgmt.tml;

import java.util.HashMap;

import org.eclipse.jdt.core.IMethod;

/**
 * Unit-testmgmt-model with the UTM-Elements and the TML-container-file.
 * 
 * @author Robert Streng
 * 
 */
public class UTMModel {

	private UTMElements utmElements;
	private Test tmlTest;

	private HashMap<IMethod, Method> methodMap = new HashMap<IMethod, Method>();

	/**
	 * @param utmElements
	 * @param tmlTest
	 */
	public UTMModel(UTMElements utmElements, Test tmlTest) {
		this.utmElements = utmElements;
		this.tmlTest = tmlTest;
	}

	/**
	 * @return UTM-elements
	 */
	public UTMElements getUtmElements() {
		return utmElements;
	}
	
	/**
	 * @param utmElements
	 */
	public void setUtmElements(UTMElements utmElements) {
		this.utmElements = utmElements;
	}

	/**
	 * @return TML-Test
	 */
	public Test getTmlTest() {
		return tmlTest;
	}

	/**
	 * @param tmlTest
	 */
	public void setTmlTest(Test tmlTest) {
		this.tmlTest = tmlTest;
	}

	/**
	 * @return the method map
	 */
	public HashMap<IMethod, Method> getMethodMap() {
		return methodMap;
	}

	/**
	 * @param methodMap
	 */
	public void setMethodMap(HashMap<IMethod, Method> methodMap) {
		this.methodMap = methodMap;
	}

}
